#ifndef SORT_H
#define SORT_H

#define MAXSIZE 10

class Sort{
public:
    Sort();
    ~Sort();

    void print();

    void insertSort();
    void shellSort();

    void selectSort();
    void heapJust(int head,int end);
    void heapSort();

    void bubbleSort();
    void quickSort(int low,int high);
    void quickSort();

    void merge(int low,int mid,int high);
    void mergeOnce(int length);
    void mergeSort();

private:
    int m_array[MAXSIZE];
    int m_num;
};

#endif // SORT_H
